<ion-header>
    <ion-navbar>
      <ion-title>
        工作类型
      </ion-title>
    </ion-navbar>
  </ion-header>
  
  <ion-content class="worktype">
    <ion-list radio-group [(ngModel)]="mainceType" *ngIf="isMaince">
      
        <ion-list-header>
          请选取工作类型
        </ion-list-header>
      
        <ion-item *ngFor ="let item of mainceTypeList">
          <ion-label>{{item.label}}</ion-label>
          <ion-radio value="{{item.value}}"></ion-radio>
        </ion-item>
      </ion-list>

      <ion-list radio-group [(ngModel)]="testType" *ngIf="isUsed">
          
            <ion-list-header>
              请选取工作类型
            </ion-list-header>    
            <ion-item *ngFor ="let item of testTypeList">
              <ion-label>{{item.label}}</ion-label>
              <ion-radio value="{{item.value}}"></ion-radio>
            </ion-item>
          </ion-list>
      <button ion-button full class="btn" (click)="doConfirm()">确认</button>
  </ion-content>